package com.flex.core.annotation;

import com.flex.core.enums.RequestMethod;

import java.lang.annotation.*;

/**
 *  接口文档基本信息
 * @author dazheng201804
 */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface Doc {
    String title() default "" ;
    String desc() default "";
    String url() default "";
    String result() default "";
    DocParam[] params() default {};
    boolean isPage() default false;
    int[] pager() default {1,10};
    RequestMethod method() default RequestMethod.POST;

}
